package com.san.base.service;

import java.util.List;
import java.util.Map;

import org.quartz.SchedulerException;

import com.san.base.domain.TaskDO;

/**
 * 任务管理接口服务
 * 
 */
public interface TaskService  extends BaseService{
	
	
	List<TaskDO> list(Map<String, Object> map);
	
	int count(Map<String, Object> map);
	
	void initSchedule() throws SchedulerException;

	void changeStatus(Long jobId, String cmd) throws SchedulerException;

	void updateCron(Long jobId) throws SchedulerException;
}
